updatePolicy
Update or insert the properties of a single policy
GraphQL Schema
extend type mutation {
"""Update or insert the properties of a single policy"""
updatePolicy(input: UpdatePolicyInput): UpdatePolicyPayload
}
Arguments
Name | Type | Description |
---|---|---|
input | [UpdatePolicyInput](/04-reference/05-Input Objects/UpdatePolicyInput.mdx) |
Response Shape
This mutation returns UpdatePolicyPayload
Name | Type | Description |
---|---|---|
success | Boolean! | Whether the mutation was successful |
error | ErrorType | Error information |
policy | Policy |